﻿@{
    var db = Database.Open("VirtualeShop");
    var sqlSelect = "SELECT * FROM Categories;";
}

<ul>
@foreach (var category in db.Query(sqlSelect))
{
    <li><a href="/Products/@category.categoryTitle">@category.categoryTitle</a></li>
}
</ul>

